#include "netspeed.h"
#include <QApplication>

int main(int argc, char *argv[])
{
    /* Play it to Daemon */
    if(daemon(0, 0) != 0) {
        syslog(LOG_ERR, "Daemon failure. !!! \n");
        exit(-1);
    }

    QApplication a(argc, argv);
    netspeed w;
    w.show();
    
    return a.exec();
}
